package com.cloud.demo.test;

import lombok.Data;
@Data
public class Demo<T extends Number> {
    private String name="lufei";
    private Integer age=16;

    private T t;


    public <T> T say(T t){
        System.out.println("我是数字===="+t);
        return t;
    }
}
